#ifndef SquaresGame_H_
#define SquaresGame_H_

#include "GameBase.h"

enum GAMESTATE { MENU, GAME, HIGHSCORES };

class SquaresGame : public GameBase
{
private:
	GAMESTATE _State;
	//MENU STUFF
	Texture *_menuBackground;

public:
	SquaresGame(unsigned int, unsigned int );
	~SquaresGame();		

	virtual bool OnLoad();
	virtual void Logic();
	virtual void OnRender();

	void DrawMenuState();
	void UpdateMenuState();
	
	void DrawGameState();
	void UpdateGameState();

	void UpdateHighscoresState();
	void DrawHighscoresState();
	
	bool LoadTexture(String, Texture *, IntRect);
};
#endif